{extend name="layout/layout" /}

{block name="content"}
<div class="row js-check-wrap">
    <div class="col-lg-12">
        <div class="portlet light">
            <div class="box-header">
                <div class="row">
                    <div class="col-md-10">
                        <form id="searchForm" action="{$pageSize.url}" class="form" method="post">
                            <div class="form-inline">
                                <input class="city" type="hidden" name="cityId" value="{$featurecolumnInfo.cityId}">
                                <input class="xian" type="hidden" name="xianId" value="{$featurecolumnInfo.xianId}">
                                <input class="town" type="hidden" name="townId" value="{$featurecolumnInfo.townId}">
                                <input class="village" type="hidden" name="villageId" value="{$featurecolumnInfo.villageId}">
                                <p class="form-control-static"> {$area} </p>

                                <!--<label>标题 ：</label>-->
                                <input type="text" class="form-control" name="title" value="" placeholder="标题">
                                &nbsp;&nbsp;&nbsp;
                                <button id="doSearch" type="button" class="btn btn-success" title="筛选">
                                    <i class="fa fa-search"></i> 筛选
                                </button>
                                <!--<a href="{$currentUrl}?reset=1" class="btn btn-danger"><i class="fa fa-trash"></i> 清空</a>-->
                                <button type="reset" class="btn btn-danger" title="清空">
                                    <i class="fa fa-trash"></i> 清空
                                </button>
                            </div>
                        </form>
                    </div>
                    <div class="col-md-2">
                        <div class="pull-right">
                            <a href="{:url('admin/'.strtolower($model).'/add', ['typeId' => $typeId])}" class="btn blue btn-circle"><i class="fa fa-plus"></i> 发布内容</a>
                        </div>
                    </div>
                </div>
            </div>
            <div class="portlet-body">
                <form class="js-ajax-form" method="post">
                    <div class="">
                        <table id="data-table" class="table table-bordered table-hover dataTable">
                            <thead>
                                <th>特色标题</th>
                                <th>专题</th>
                                <th>发布时间</th>
                                <th>操作</th>
                            </thead>
                        </table>
                    </div>
                </form>
            </div>
        </div>
    </div>
</div>

<input type="hidden" class="typeId" value="{$typeId}">

<input type="hidden" class="getregion_url" value="{:url('admin/region/getregion')}">
<input type="hidden" class="getvillage_url" value="{:url('admin/region/getvillage')}">
<input type="hidden" class="adminType" value="{$admin.type}">
<input type="hidden" class="adminCity" value="{$admin.cityId}">
<input type="hidden" class="adminXian" value="{$admin.xianId}">
<input type="hidden" class="adminTown" value="{$admin.townId}">
<input type="hidden" class="adminVillage" value="{$admin.villageId}">

<input type="hidden" class="datalist_url" value="{:url('admin/'.strtolower($model).'/index', ['typeId' => $typeId])}">
<input type="hidden" class="edit_url" value="{:url('admin/'.strtolower($model).'/edit', ['typeId' => $typeId])}">
<input type="hidden" class="detail_url" value="{:url('admin/'.strtolower($model).'/detail')}">
<input type="hidden" class="delete_url" value="{:url('admin/'.strtolower($model).'/delete')}">

<input type="hidden" class="gettype_url" value="{:url('admin/'.strtolower($model).'/getType')}">
{/block}

{block name="pagescript"}
<script src="__STATIC__/admin/pages/js/searcharea.js" type="text/javascript"></script>
<script src="__STATIC__/admin/pages/js/features.js" type="text/javascript"></script>
{/block}